package com.ece.devirtualizus.Processus;

import java.util.List;

import com.ece.devirtualizus.ModelDto.BonusDto;
import com.ece.devirtualizus.ModelDto.CombatDto;
import com.ece.devirtualizus.ModelDto.User;

public interface ICombatProcessus {
	
	public CombatDto executeCombat(String sender, String receiver, BonusDto bonusReceiver);
	
	public boolean enregistrerResultatCombatDto(CombatDto combat);
	
	public void lancerDemandeCombat(User senderUser, String receiverID, BonusDto bonusSender);

	//pour avoir un combat en cours
	public boolean hasAlreadySendCombat(String userSenderKey, String userReceiverKey);
	
	public boolean hasReceiveCombatFrom(String userSenderKey, String userReceiverKey);

	public List<CombatDto> getAllCombatWith(String meId, String opponentId);

	public List<String> getAllUserWithCombatInProgress(String userID);
	
}
